package com.erclab.internal.xpresso.unittests.installer;

import com.erclab.internal.xpresso.exceptions.ApplicationException;
import com.erclab.internal.xpresso.installer.*;

import junit.framework.TestCase;

public class TestXpressoInstaller extends TestCase {

	public void testSimpleXpressoInstaller(){
		InstallationProperties props = new InstallationProperties();
		props.setApplicationName("XpressoTest");
		props.setDb_host("localhost");
		SimpleXpressoInstaller sxi = new SimpleXpressoInstaller(props);
		try {
			sxi.install();
		} catch (ApplicationException e) {
			e.printStackTrace();
			fail();
		}
	}
	
}
